package ru.paswd.marketprice.geocoder.sputnik;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SputnikClientConfiguration {
    @Bean
    SputnikClient getSputnikClient() {
        SputnikClientFactoryBean factoryBean = new SputnikClientFactoryBean();
        return factoryBean.getObject();
    }
}
